package com.study.design.model.structPattern.facade.useFacade;

import com.study.design.model.structPattern.facade.noFacade.中国工商银行;
import com.study.design.model.structPattern.facade.noFacade.工商局;
import com.study.design.model.structPattern.facade.noFacade.工商局实现类;
import com.study.design.model.structPattern.facade.noFacade.海淀税务局;
import com.study.design.model.structPattern.facade.noFacade.海淀质监局;
import com.study.design.model.structPattern.facade.noFacade.税务局;
import com.study.design.model.structPattern.facade.noFacade.质监局;
import com.study.design.model.structPattern.facade.noFacade.银行;

public class RegisterFacade {
	
	void register() {
		工商局 a = new 工商局实现类() ;
		a.checkCompanyName("阿里巴巴集团有限公司") ;
		a.register("阿里巴巴集团有限公司") ;
		质监局 b = new 海淀质监局() ;
		b.getOrgCodeCertificate() ;
		税务局 c = new 海淀税务局() ;
		c.getTaxCertificate() ;
		银行 d = new 中国工商银行() ;
		d.openAccount() ;
	}

}
